package com.eva.eip.dict.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eva.eip.dao.system.model.SystemDict;
import com.eva.eip.dict.vo.SystemDictWithDataVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SystemDictMapper extends BaseMapper<SystemDict> {

    /**
     * 查询字典及其数据
     *
     * @param scope 作用域
     * @return List<SystemDictWithDataVO>
     */
    List<SystemDictWithDataVO> selectListWithData(@Param("scope") String scope);
}
